﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

//Instruções: procurar todas as classes que herdam BarPiece e resolver ambiguidades com Entity

namespace Super_Pong.Classes
{
    public abstract class BarPiece : Entity
    {
        #region Attributes
        protected int price;
        protected Player owner;       
        #endregion

        #region Methods
        public int GetPrice()
        {
            return price;
        }

        public void SetPrice(int price)
        {
            this.price = price;
        }

        public Player GetOwner()
        {
            return owner;
        }

        public void SetOwner(Player owner)
        {
            this.owner = owner;
        }

        #endregion

    }
}
